function tau_b=translate_posts(gamma_kappa,b_mu,w_mu)

L=length(gamma_kappa)/2;
gamma=gamma_kappa(1:L,:);
kappa=gamma_kappa(L+1:2*L,:);

sigma=exp(kappa);
b=zeros(L,2);
for l=1:L
    b(l,1)=1/(1+((1-b_mu)/b_mu)*exp((0.5-gamma(l,1))/sigma(l,1)^2));
    b(l,2)=1/(1+((1-w_mu)/w_mu)*exp((0.5-gamma(l,2))/sigma(l,2)^2));
end
tau_b=[1./sigma;b];
